package models_report

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type AscribeTransform struct {
	ID        uint   `json:"id" gorm:"primaryKey;autoIncrement"`
	EventType string `json:"event_type" gorm:"type:varchar(32);not null"`
	AndroidId string `json:"android_id" gorm:"type:varchar(255)"`
	Platform  string `json:"platform" gorm:"type:varchar(255)"`
	Callback  string `json:"callback" gorm:"type:text"`
	Res       string `json:"res" gorm:"type:longtext"`
}

func (AscribeTransform) TableName() string {
	return fmt.Sprintf("%sascribe_transform", models.Prefix)
}
